var app = getApp(),
  $ = require("../../utils/httpHelper.js")
Page({
  data: {
    imgs: [
      "http://niushao.img-cn-beijing.aliyuncs.com/niushao/2018-02-02/SJQmMh3Qm2yfMJjmcWKspw2hK2FsPJ4N.jpg",
      "http://niushao.img-cn-beijing.aliyuncs.com/niushao/2018-02-02/EYsz3z42xzQjeGc4ffW7mjaEM35nAaa4.png",
    ],
  },
  onLoad(options){
    $.httpPost("guide", {}, (data, err) => {
      this.setData({
        imgs: data.data.list,
      })
    })
  },
  start() {
    wx.switchTab({
      url: '/pages/index/index'
    })
  },
})